import Vue from 'vue'
import App from './App'
import uView from "uview-ui"
import store from './store'
import api from './common/request.js'
import base from './common/base.js'
import httpApis from 'common/http.apis.js'
import wxApi from './common/wx.api.js'
import ws from './ws/ws.js'

Vue.use(uView);
Vue.use(base);
Vue.use(wxApi);

Vue.config.productionTip = false

App.mpType = 'app'

Vue.prototype.$httpApis = httpApis
Vue.prototype.$api = api
Vue.prototype.$store = store
Vue.prototype.$ws = ws

const app = new Vue({
	store,
    ...App
})
app.$mount()
